home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / ge_cool.lha / GE_COOL2.1 / src / Date_Time / country.h < prev    next >
C/C++ Source or Header  |  1992-04-13  |  2KB  |  70 lines

  1. //
  2. // Copyright (C) 1991 Texas Instruments Incorporated.
  3. //
  4. // Permission is granted to any individual or institution to use, copy, modify,
  5. // and distribute this software, provided that this complete copyright and
  6. // permission notice is maintained, intact, in all copies and supporting
  7. // documentation.
  8. //
  9. // Texas Instruments Incorporated provides this software "as is" without
  10. // express or implied warranty.
  11. //
  12. //
  13. // Initial implementation: 4/11/89 MBN
  14. // Updated: DLS 03/22/91 -- New lite version
  15. //
  16. // This  file  contains an  enum  definition for  type country.  It  specifies
  17. // symbolic constants to  be used as  country types.  Note  that C++  does not
  18. // distinguish between an enum type  and an integer,  so function arguments of
  19. // type `country' are really just `int' types.
  20. //
  21.  
  22. #ifndef COUNTRYH        // If we have not yet defined the country type,
  23. #define COUNTRYH        // Indicate that class country has been included
  24.  
  25. enum country {    
  26.   UNKNOWN_COUNTRY,                // Unknown country
  27.   UNITED_STATES,                    // 29-03-1989 17:35:00.00
  28.   FRENCH_CANADIAN,                // 1989-29-03 17:35:00,00
  29.   LATIN_AMERICA,                    // 03/29/1989 17:35:00.00
  30.   NETHERLANDS,                      // 03-29-1989 17:35:00,00
  31.   BELGIUM,                          // 03/29/1989 17:35:00,00
  32.   FRANCE,                           // 03/29/1989 17:35:00,00
  33.   SPAIN,                            // 03/29/1989 17:35:00,00
  34.   ITALY,                            // 03/29/1989 17:35:00,00
  35.   SWITZERLAND,                      // 03.29.1989 17.35.00.00
  36.   UNITED_KINGDOM,                   // 03-29-1989 17:35:00.00
  37.   DENMARK,                          // 03/29/1989 17:35:00,00
  38.   SWEDEN,                           // 1989-29-03 17.35.00,00
  39.   NORWAY,                           // 03/29/1989 17:35:00,00
  40.   GERMANY,                          // 03.29.1989 17.35.00,00
  41.   PORTUGAL,                         // 03/29/1989 17:35:00,00
  42.   FINLAND,                          // 03.29.1989 17.35.00,00
  43.   ARABIC_COUNTRIES,                // 03/29/1989 17:35:00,00
  44.   ISRAEL                          // 03 29 1989 17:35:00.00
  45. };
  46.  
  47. static const char* country_names[] = {        // ASCII country names
  48.   "Unknown Country",
  49.   "United States",
  50.   "French Canadian",
  51.   "Latin America",
  52.   "Netherlands",
  53.   "Belgium",
  54.   "France",
  55.   "Spain",
  56.   "Italy",
  57.   "Switzerland",
  58.   "United Kingdom",
  59.   "Denmark",
  60.   "Sweden",
  61.   "Norway",
  62.   "Germany",
  63.   "Portugal",
  64.   "Finland",
  65.   "Arabic Countries",
  66.   "Israel"          
  67. };
  68.  
  69. #endif                        // End #ifdef of COUNTRYH
  70.